home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-serious-
/
programming
/
other
/
python-1.52
/
source
/
embed
/
testscript.py
< prev
Wrap
Text File
|
1999-06-14
|
378b
|
22 lines
print 'This is executed from a separate test script'
try:
import xyzzy
print xyzzy.foo()
except ImportError,x:
print 'importing xyzzy failed',x
result='abc'*9
import sys
print 'sys.path=',sys.path
print 'sys.argv=',sys.argv
print 'sys.exec_prefix=',sys.exec_prefix
print 'sys.executable=',sys.executable
print 'sys.prefix=',sys.prefix
print 'sys.version=',sys.version